Q3Vector3D_Subtract
You can use theQ3Vector3D_Subtract
function to subtract a three-dimensional vector from a three-dimensional vector.
TQ3Vector3D *Q3Vector3D_Subtract ( const TQ3Vector3D *v1, const TQ3Vector3D *v2, TQ3Vector3D *result);
v1
- A three-dimensional vector.
v2
- A three-dimensional vector.
result
- On exit, the result of subtracting
v2
fromv1
.DESCRIPTION
TheQ3Vector3D_Subtract
function returns, as its function result and in theresult
parameter, the three-dimensional vector that is the result of subtracting vectorv2
from vectorv1
. Note that on entry theresult
parameter can be the same as eitherv1
orv2
(or both).